package com.chaowen.xuefeng;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import com.chaowen.yixin.R;

public class OABaseActivity extends Activity {

	@Override
	protected void onResume() {
		super.onResume();
		TextView titileView = (TextView) this.findViewById(R.id.ivTitleName);
		if (null != titileView) {
			Intent intent = getIntent();
			Bundle bundle=intent.getExtras();
			String value = bundle.getString("title");
			if (null != value && !"".equals(value)) {
				titileView.setText(value);
			} else {
				titileView.setText(this.getTitle());
			}
		}
	}
}
